async function login(employee){
  let msg = await axios({
        method: 'POST',
        url: 'http://localhost:8080/login',
        data: {
            username:employee.username,
            password:employee.password
            // ...employee
        },

    })
    return msg.data
}
async function logoutApi(){
    let msg =await axios({
        method:"post",
        url:"/logout",
        headers: {
            'Content-Type': 'application/json; charset=utf-8'
        }
    })
    return msg.data
}

